package com.example.testgame.sys;

import android.content.Context;

import com.example.testgame.R;

public class Constant {
	
	public static void init(Context ctx) {
		BLOCK_HEIGHT = BLOCK_WIDTH = ctx.getResources().getDimensionPixelSize(R.dimen.block_unit);
	}
	
	/**
	 * 单块宽度
	 */
	public static int BLOCK_WIDTH = 100;
	
	/**
	 * 单块高度
	 */
	public static int BLOCK_HEIGHT = 100;

}
